package com.baolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel("货架上的备件")
@TableName("shelf_goods")
public class ShelfGoods extends Model<ShelfGoods> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("备件编码")
    @TableId(type = IdType.INPUT)
    private String goodsId;

    @ApiModelProperty("备件位置")
    private String site;

    @ApiModelProperty("当前位置的备件数量")
    private Integer number;
}
